package com.wkbb.common.enums;

public enum MpMsgTemplateEnum {
    //
    ARRIVE_LEAVE_SCHOOL("TM00188","到校离校提醒"),
    ARRIVE_LEAVE_EMPLOYEE_SCHOOL("OPENTM414274647","教职工到校离校提醒"),
    SCHOOL_BUS_TAKE("OPENTM207433549","校车接送提醒"),
    SCHOOL_NOTICE("OPENTM204845041","家校通知"),
    FAMILY_LETTER("OPENTM207719538","家长私信提醒"),
    TEACHER_LETTER("OPENTM207719517","老师私信提醒"),
    HOMEWORK_MESSAGE("OPENTM207873178","作业消息提醒"),
    SERVICE_EXPIRE("OPENTM412135919","服务到期提醒"),
    PHOTO_ALBUM("OPENTM205211640","相册更新成功通知"),
    ATTEND_NOTICE("OPENTM407369266","考勤通知"),
    COURSE_NOTICE("OPENTM406700449","课程安排通知"),
    ASK_LEAVE("OPENTM207767063","请假条提醒"),
    AUDIT_RESULT("OPENTM412898512","审批结果通知"),
    RECIPE_NOTICE("OPENTM207339600","菜谱通知"),
    STUDY_PROGRESS("OPENTM411984457","学习进度提醒"),
    CUSTOMER_BILL("OPENTM409939450","客户帐单通知"),
    PAY_SUCCESS("OPENTM412480999","付费成功提醒"),
    MC_RESULT("OPENTM410198185","晨检结果通知"),
    IN_OUT_DORMITORY("OPENTM412823185","进出宿舍提醒"),
    BREAK_IN_NOTICE("OPENTM414735685","非法闯入提醒"),
    DOOR_ATTEND_RESULT("OPENTM415468576","考勤结果通知"),
    HEALTH_TEAPERATURE_RESULT("OPENTM418105492","体温异常通知");

    private MpMsgTemplateEnum(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    private String value;

    private String desc;

    public String getValue() {
        return this.value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public static String getDesc(String value) {
        for (MpMsgTemplateEnum addressListEnum : MpMsgTemplateEnum.values()) {
            if (addressListEnum.getValue().equals(value)) {
                return addressListEnum.getDesc();
            }
        }
        return null;
    }
}
